


//TODO a(32)
function a32(module, exports, a) {
    function i() {
    }

    var s = a(33), r = a(3), n = a(21);
    r.extend(i, s);
    var o = {
        getToken: function (e, t, a) {
            var i = n.PROTOCAL + n.HOST_NAME.PLAYER_PC_LETV_COM + "/mms/authenticate?", s = {
                pid: this.playerData.vinfo.pid || "",
                vid: this.playerData.vinfo.vid || "",
                cid: this.playerData.vinfo.cid || "",
                storepath: e,
                region: this.manager.listener.get(n.REGION)
            }, o = this;
            this.manager.log.pushLog("getUserInfo: "), r.getJSON({
                url: i,
                data: s,
                log: this.manager.log,
                maxCount: 1,
                success: function (e) {
                    o.jsonp = null, e = e.msgs, o.manager.log.pushLog("user.getToken Suc: " + r.JSONTOStr(e)), e.error && a && a(), t && t(e.token)
                },
                fail: function () {
                    o.jsonp = null, o.manager.log.pushLog("user.getToken Fail"), a && a()
                }
            })
        }
    };
    r.merge(i.prototype, o), module.exports = i
}
